package prototypePattern;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Apple implements Cloneable {
    public String color;
    public int weight;

    @Override
    public Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
